package com.renmindangjiazuozu.main;

import com.renmindangjiazuozu.hzh.JinGang;
import com.renmindangjiazuozu.liang.SpongeBobSquarePants;
import com.renmindangjiazuozu.liyongji.Venom;
import com.renmindangjiazuozu.tangmingzhi.qingwawangzi;
import com.renmindangjiazuozu.tlw.TigerBrother;
import com.renmindangjiazuozu.wgj.Cat;
import com.renmindangjiazuozu.zjj.Dog;

import java.util.Scanner;


public class zoo {
    public static void main(String args[]){
        int a;

        do {


            System.out.println("选择你想看的动物（填写数字）：\n1.狗\n2.金刚\n3.虎哥\n4.青蛙王子\n5.海绵宝宝\n6.毒液\n7.猫");
            Scanner xuanze = new Scanner(System.in);
            int i = xuanze.nextInt();
            switch (i) {
                case 1:
                    Dog dog = new Dog();
                    System.out.println(dog.toString());
                    break;
                case 2:
                    JinGang jingang = new JinGang();
                    System.out.println(jingang.toString());

                    break;
                case 3:
                    TigerBrother tigerbrother = new TigerBrother();
                    System.out.println(tigerbrother.huge());
                    break;
                case 4:
                    qingwawangzi myclass = new qingwawangzi();
                    System.out.println(myclass.daoyou());
                    break;
                case 5:
                    SpongeBobSquarePants SBSP = new SpongeBobSquarePants();
                    System.out.println(SBSP.toString());
                    break;
                case 6:
                    Venom venom = new Venom();
                    System.out.println(venom.toString());
                    break;
                case 7:
                    Cat cat = new Cat();
                    System.out.println(cat.toString());
                    break;
            }
            System.out.println("还想继续看吗？（1.想 2.不想）");
            Scanner hh=new Scanner(System.in);
            a= hh.nextInt();

        }while (a==1);
    }
}
